import Vue from 'vue'
import home from '../components/Hmoe/home'
import vip from '../components/Vip/vip'
import shopt from '../components/Shopt/shopt'
import search from '../components/Search/search'
import newsList from '../components/news/newsList'
import newsinfo from '../components/news/newsinfo'
import Router from 'vue-router'
Vue.use(Router)
export default new Router({

    routes: [
        {
            path: '/home',
            name: 'home',
            component: home
        },
        {
            path: '/vip',
            name: 'vip',
            component: vip
        },
        {
            path: '/shopt',
            name: 'shopt',
            component: shopt
        },
        {
            path: '/seaech',
            name: 'search',
            component: search
        },
        {
            path: '/home/newLsit',
            name: 'newsList',
            component: newsList
        },
        {
            path: '/home/newsinfo',
            name: 'newsinfo',
            component: newsinfo
        }



    ],
    linkActiveClass: 'mui-active'
})
